/**
 * Sumpu Inc.
 * Copyright (c) 2011-2012 All Rights Reserved. 
 */
package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author nick
 * @version $Id: TaobaokeReport.java, v 0.1 2012-8-20 下午02:22:55 nick Exp $
 */
public class TaobaokeReport implements Serializable {

    public TaobaokeReport() {
    }

    public TaobaokeReport(String identifier, String tradeParentId, String tradeId, Double realPayFee, String commissionRate, Double commission,
                          String subsidyRate, Double subsidy, String appKey, String outerCode, Date createTime, String status, Date confirmTime, Date payTime,
                          Double payPrice, String numIid, String itemTitle, Long itemNum, String categoryId, String categoryName, String shopTitle,
                          String sellerNick, String guoguojieCommissionRate, Double guoguojieCommission, String guoguojieProductId, Boolean guoguojieRebate,
                          String member, Date gmtCreated, Date gmtModified) {
        this.identifier = identifier;
        this.tradeParentId = tradeParentId;
        this.tradeId = tradeId;
        this.realPayFee = realPayFee;
        this.commissionRate = commissionRate;
        this.commission = commission;
        this.subsidyRate = subsidyRate;
        this.subsidy = subsidy;
        this.appKey = appKey;
        this.outerCode = outerCode;
        this.createTime = createTime;
        this.status = status;
        this.confirmTime = confirmTime;
        this.payTime = payTime;
        this.payPrice = payPrice;
        this.numIid = numIid;
        this.itemTitle = itemTitle;
        this.itemNum = itemNum;
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.shopTitle = shopTitle;
        this.sellerNick = sellerNick;
        this.guoguojieCommissionRate = guoguojieCommissionRate;
        this.guoguojieCommission = guoguojieCommission;
        this.guoguojieProductId = guoguojieProductId;
        this.guoguojieRebate = guoguojieRebate;
        this.member = member;
        this.gmtCreated = gmtCreated;
        this.gmtModified = gmtModified;
    }

    /**
     *
     */
    private static final long serialVersionUID = 4115651716124508878L;
    private String            identifier;
    private String            tradeParentId;
    private String            tradeId;
    private Double            realPayFee;
    private String            commissionRate;
    private Double            commission;
    private String            subsidyRate;
    private Double            subsidy;
    private String            appKey;
    private String            outerCode;
    private Date              createTime;
    private String            status;
    private Date              confirmTime;
    private Date              payTime;
    private Double            payPrice;
    private String            numIid;
    private String            itemTitle;
    private Long              itemNum;
    private String            categoryId;
    private String            categoryName;
    private String            shopTitle;
    private String            sellerNick;
    private String            guoguojieCommissionRate;
    private Double            guoguojieCommission;
    private String            guoguojieProductId;
    private Boolean           guoguojieRebate;
    private String            member;
    private Date              gmtCreated;
    private Date              gmtModified;

    public void setMember(String member) {
        this.member = member;
    }

    public String getMember() {
        return member;
    }

    public Boolean getGuoguojieRebate() {
        return guoguojieRebate;
    }

    public void setGuoguojieRebate(Boolean guoguojieRebate) {
        this.guoguojieRebate = guoguojieRebate;
    }

    public String getGuoguojieCommissionRate() {
        return guoguojieCommissionRate;
    }

    public void setGuoguojieCommissionRate(String guoguojieCommissionRate) {
        this.guoguojieCommissionRate = guoguojieCommissionRate;
    }

    public Double getGuoguojieCommission() {
        return guoguojieCommission;
    }

    public void setGuoguojieCommission(Double guoguojieCommission) {
        this.guoguojieCommission = guoguojieCommission;
    }

    public String getGuoguojieProductId() {
        return guoguojieProductId;
    }

    public void setGuoguojieProductId(String guoguojieProductId) {
        this.guoguojieProductId = guoguojieProductId;
    }

    /**
     * Getter method for property.
     * @return property value of identifier
     */
    public String getIdentifier() {
        return identifier;
    }

    /**
     * Setter method for property.
     * @param identifier value to be assigned to property identifier
     */
    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    /**
     * Getter method for property.
     * @return property value of tradeParentId
     */
    public String getTradeParentId() {
        return tradeParentId;
    }

    /**
     * Setter method for property.
     * @param tradeParentId value to be assigned to property tradeParentId
     */
    public void setTradeParentId(String tradeParentId) {
        this.tradeParentId = tradeParentId;
    }

    /**
     * Getter method for property.
     * @return property value of tradeId
     */
    public String getTradeId() {
        return tradeId;
    }

    /**
     * Setter method for property.
     * @param tradeId value to be assigned to property tradeId
     */
    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    /**
     * Getter method for property.
     * @return property value of realPayFee
     */
    public Double getRealPayFee() {
        return realPayFee;
    }

    /**
     * Setter method for property.
     * @param realPayFee value to be assigned to property realPayFee
     */
    public void setRealPayFee(Double realPayFee) {
        this.realPayFee = realPayFee;
    }

    /**
     * Getter method for property.
     * @return property value of commissionRate
     */
    public String getCommissionRate() {
        return commissionRate;
    }

    /**
     * Setter method for property.
     * @param commissionRate value to be assigned to property commissionRate
     */
    public void setCommissionRate(String commissionRate) {
        this.commissionRate = commissionRate;
    }

    /**
     * Getter method for property.
     * @return property value of commission
     */
    public Double getCommission() {
        return commission;
    }

    /**
     * Setter method for property.
     * @param commission value to be assigned to property commission
     */
    public void setCommission(Double commission) {
        this.commission = commission;
    }

    /**
     * Getter method for property.
     * @return property value of subsidyRate
     */
    public String getSubsidyRate() {
        return subsidyRate;
    }

    /**
     * Setter method for property.
     * @param subsidyRate value to be assigned to property subsidyRate
     */
    public void setSubsidyRate(String subsidyRate) {
        this.subsidyRate = subsidyRate;
    }

    /**
     * Getter method for property.
     * @return property value of subsidy
     */
    public Double getSubsidy() {
        return subsidy;
    }

    /**
     * Setter method for property.
     * @param subsidy value to be assigned to property subsidy
     */
    public void setSubsidy(Double subsidy) {
        this.subsidy = subsidy;
    }

    /**
     * Getter method for property.
     * @return property value of appKey
     */
    public String getAppKey() {
        return appKey;
    }

    /**
     * Setter method for property.
     * @param appKey value to be assigned to property appKey
     */
    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    /**
     * Getter method for property.
     * @return property value of outerCode
     */
    public String getOuterCode() {
        return outerCode;
    }

    /**
     * Setter method for property.
     * @param outerCode value to be assigned to property outerCode
     */
    public void setOuterCode(String outerCode) {
        this.outerCode = outerCode;
    }

    /**
     * Getter method for property.
     * @return property value of createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * Setter method for property.
     * @param createTime value to be assigned to property createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * Getter method for property.
     * @return property value of status
     */
    public String getStatus() {
        return status;
    }

    /**
     * Setter method for property.
     * @param status value to be assigned to property status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * Getter method for property.
     * @return property value of confirmTime
     */
    public Date getConfirmTime() {
        return confirmTime;
    }

    /**
     * Setter method for property.
     * @param confirmTime value to be assigned to property confirmTime
     */
    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    /**
     * Getter method for property.
     * @return property value of payTime
     */
    public Date getPayTime() {
        return payTime;
    }

    /**
     * Setter method for property.
     * @param payTime value to be assigned to property payTime
     */
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    /**
     * Getter method for property.
     * @return property value of payPrice
     */
    public Double getPayPrice() {
        return payPrice;
    }

    /**
     * Setter method for property.
     * @param payPrice value to be assigned to property payPrice
     */
    public void setPayPrice(Double payPrice) {
        this.payPrice = payPrice;
    }

    /**
     * Getter method for property.
     * @return property value of numIid
     */
    public String getNumIid() {
        return numIid;
    }

    /**
     * Setter method for property.
     * @param numIid value to be assigned to property numIid
     */
    public void setNumIid(String numIid) {
        this.numIid = numIid;
    }

    /**
     * Getter method for property.
     * @return property value of itemTitle
     */
    public String getItemTitle() {
        return itemTitle;
    }

    /**
     * Setter method for property.
     * @param itemTitle value to be assigned to property itemTitle
     */
    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    /**
     * Getter method for property.
     * @return property value of itemNum
     */
    public Long getItemNum() {
        return itemNum;
    }

    /**
     * Setter method for property.
     * @param itemNum value to be assigned to property itemNum
     */
    public void setItemNum(Long itemNum) {
        this.itemNum = itemNum;
    }

    /**
     * Getter method for property.
     * @return property value of categoryId
     */
    public String getCategoryId() {
        return categoryId;
    }

    /**
     * Setter method for property.
     * @param categoryId value to be assigned to property categoryId
     */
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * Getter method for property.
     * @return property value of categoryName
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * Setter method for property.
     * @param categoryName value to be assigned to property categoryName
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * Getter method for property.
     * @return property value of shopTitle
     */
    public String getShopTitle() {
        return shopTitle;
    }

    /**
     * Setter method for property.
     * @param shopTitle value to be assigned to property shopTitle
     */
    public void setShopTitle(String shopTitle) {
        this.shopTitle = shopTitle;
    }

    /**
     * Getter method for property.
     * @return property value of sellerNick
     */
    public String getSellerNick() {
        return sellerNick;
    }

    /**
     * Setter method for property.
     * @param sellerNick value to be assigned to property sellerNick
     */
    public void setSellerNick(String sellerNick) {
        this.sellerNick = sellerNick;
    }

    /**
     * Getter method for property.
     * @return property value of gmtCreated
     */
    public Date getGmtCreated() {
        return gmtCreated;
    }

    /**
     * Setter method for property.
     * @param gmtCreated value to be assigned to property gmtCreated
     */
    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    /**
     * Getter method for property.
     * @return property value of gmtModified
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * Setter method for property.
     * @param gmtModified value to be assigned to property gmtModified
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * @return
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((tradeId == null) ? 0 : tradeId.hashCode());
        return result;
    }

    /**
     * @param obj
     * @return
     * @see java.lang.Object#equals(java.lang.Object)
     */
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (!(obj instanceof TaobaokeReport))
            return false;
        TaobaokeReport other = (TaobaokeReport) obj;
        if (tradeId == null) {
            if (other.tradeId != null)
                return false;
        } else if (!tradeId.equals(other.tradeId))
            return false;
        return true;
    }

    /**
     * @return
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "TaobaokeReport [identifier=" + identifier + ", tradeParentId=" + tradeParentId + ", tradeId=" + tradeId + ", realPayFee=" + realPayFee
               + ", commissionRate=" + commissionRate + ", commission=" + commission + ", subsidyRate=" + subsidyRate + ", subsidy=" + subsidy + ", appKey="
               + appKey + ", outerCode=" + outerCode + ", createTime=" + createTime + ", status=" + status + ", confirmTime=" + confirmTime + ", payTime="
               + payTime + ", payPrice=" + payPrice + ", numIid=" + numIid + ", itemTitle=" + itemTitle + ", itemNum=" + itemNum + ", categoryId=" + categoryId
               + ", categoryName=" + categoryName + ", shopTitle=" + shopTitle + ", sellerNick=" + sellerNick + ", guoguojieCommissionRate="
               + guoguojieCommissionRate + ", guoguojieCommission=" + guoguojieCommission + ", guoguojieProductId=" + guoguojieProductId + ", guoguojieRebate="
               + guoguojieRebate + ", member=" + member + ", gmtCreated=" + gmtCreated + ", gmtModified=" + gmtModified + "]";
    }

}
